/*
 * @Author: sheng.chen
 * @Date: 2021-09-06 11:22:04
 * @Last Modified by: sheng.chen
 * @Last Modified time: 2021-09-08 14:00:17
 *  策略管理
 */
import Layout from '@V/layout/Layout.vue'

const polocyRoute = {
  path: '/polocy',
  name: 'polocy',
  component: Layout,
  meta: { title: '策略管理', icon: 'set' },
  module: 'aiMarketing',
  props: {
    showSideMenu: true,
    showTabNav: false,
    contentClass: 'vix-config-content'
  },
  icon: 'br aic-icon aic-auth',
  children: [
    {
      path: 'atlas',
      name: '策略图谱',
      component: () => import('@V/polocy/atlas/index.vue'),
      meta: { title: '策略图谱', code: 'm.author.department' }
    },
    {
      path: 'meAtlas',
      name: '我的策略',
      component: () => import('@V/polocy/meAtlas/index.vue'),
      meta: { title: '我的策略', code: 'm.author.department' }
    },
    {
      path: 'addAtlas',
      name: '新建策略',
      component: () => import('@V/polocy/addAtlas/index.vue'),
      meta: { title: '新建策略', code: 'm.author.department' },
      hidden: true
    },
    {
      path: 'addAtlasGroup',
      name: '新建策略组',
      component: () => import('@V/polocy/customAtlas/addAtlasGroup.vue'),
      meta: { title: '新建策略组', code: 'm.author.department' },
      hidden: true
    },
    {
      path: 'precipitateAtlas',
      name: '策略沉淀管理',
      component: () => import('@V/polocy/precipitateAtlas/index.vue'),
      meta: { title: '策略沉淀管理', code: 'm.author.department' }
    },
    {
      path: 'customAtlas',
      name: '自定义策略组',
      component: () => import('@V/polocy/customAtlas/index.vue'),
      meta: { title: '自定义策略组', code: 'm.author.department' }
    }
  ]
}

export default polocyRoute
